﻿using LimaLims.Application.Service.Base.Dto;
using LimaLims.Core;
using Microsoft.EntityFrameworkCore;

namespace LimaLims.Application.Service.Basic.Dto
{

    /// <summary>
    /// 班组DTO
    /// </summary>
    public class AddTeamInput : BaseDto
    {
        /// <summary>
        /// 车间名称
        /// </summary>
        public string WorkName { get; set; }

        /// <summary>
        /// 班组名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 所属试验站
        /// </summary>
        public long? ExperimentStationId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

    public class EditTeamInput : AddTeamInput
    {

    }

    public class TeamOutput : BaseDto
    {
        /// <summary>
        /// 车间名称
        /// </summary>
        public string WorkName { get; set; }

        /// <summary>
        /// 所属试验站
        /// </summary>
        public long? ExperimentStationId { get; set; }

        /// <summary>
        /// 试验站名称
        /// </summary>
        public string ExperimentStationName { get; set; }
        /// <summary>
        /// 班组名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

    /// <summary>
    /// 班组分页
    /// </summary>
    public class TeamPageInput : PageInputBase
    {
        /// <summary>
        /// 车间名称
        /// </summary>
        public string WorkName { get; set; }
    }
}
